package appapi.service;

import appapi.Request.SelfcheckPageReq;
import appapi.Vo.AddSelfcheckRecVo;
import appapi.Vo.EditSelfcheckRecVo;
import appapi.Vo.basic.ExcelSelfcheckVo;
import appapi.Vo.record.InspectWarnVo;
import appapi.dto.DelSelfCheckDto;
import appapi.entity.Zhongjiao.SelfcheckDto;
import appapi.entity.basic.SelfcheckItemEntity;
import appapi.entity.basic.UserInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author djq
 * @date 2023/5/17 15:40
 * @description:
 */
@Repository
public interface ISelfcheckService {
    List<Map<String, Object>> SelectSelfcheckPage(SelfcheckPageReq selfcheckPageReq);

    List<Map<String, Object>> SelectSelfcheckList(Long equipId);

    int InsertSelfcheck(AddSelfcheckRecVo dto);

    int UpdateSelfcheck(EditSelfcheckRecVo dto);

    int DelSelfcheck(DelSelfCheckDto dto);

    SelfcheckDto  getSelfCheckModel(Long selfId);

    List<SelfcheckItemEntity> selectSelfItemByEquipType(Long equipTypeId);

    InspectWarnVo GetWarn(UserInfo staffId);

    List<ExcelSelfcheckVo> getList(SelfcheckPageReq req);
}
